package com.jcl.recruit.resume.vo;

import com.jcl.core.utils.DateUtils;

import java.util.Date;

/**
 * @ClassName ResumeCrawlerExportParam

 * @Author yyliu
 * @Date 2018/11/13 16:05
 * @Version 1.0
 **/
public class ResumeSimpleResultEntity extends ResumeBasicEntity {

    private String name;

    private String sex;

    private Integer age;

    private String mobile;

    private String email;

    private Date birthday;

    private Long birthdayTime;

    private String currentAddress;

    private String currentCity;

    private String currentSalary;

    private String salaryStart;

    private String salaryEnd;

    private Integer workYear;

    private String workLastPosition;

    private String workLastCompany;

    private String eduLastEducation;

    private String eduLastSchool;

    private String eduLastSchoolTag;

    private String eduLastMajor;

    // 期望职位
    private String expectJob;
    // 期望薪资
    private String expectPay;

    private String expectPayStart;

    private String expectPayEnd;
    // 工作地点
    private String workPlace;
    // 行业
    private String workIndustry;
    // 工作性质
    private String workNature;
    // 入职日期
    private String entryDate;
    // 关键字
    private String keyword;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        if(null != birthday){
            age = DateUtils.formatAge(birthday);
        }
        return age;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Long getBirthdayTime() {
        if(null != birthday){
            birthdayTime = birthday.getTime();
        }
        return birthdayTime;
    }

    public String getCurrentAddress() {
        return currentAddress;
    }

    public void setCurrentAddress(String currentAddress) {
        this.currentAddress = currentAddress;
    }

    public String getCurrentCity() {
        return currentCity;
    }

    public void setCurrentCity(String currentCity) {
        this.currentCity = currentCity;
    }

    public String getCurrentSalary() {
        return currentSalary;
    }

    public void setCurrentSalary(String currentSalary) {
        this.currentSalary = currentSalary;
    }

    public String getSalaryStart() {
        return salaryStart;
    }

    public void setSalaryStart(String salaryStart) {
        this.salaryStart = salaryStart;
    }

    public String getSalaryEnd() {
        return salaryEnd;
    }

    public void setSalaryEnd(String salaryEnd) {
        this.salaryEnd = salaryEnd;
    }

    public Integer getWorkYear() {
        return workYear;
    }

    public void setWorkYear(Integer workYear) {
        this.workYear = workYear;
    }

    public String getWorkLastPosition() {
        return workLastPosition;
    }

    public void setWorkLastPosition(String workLastPosition) {
        this.workLastPosition = workLastPosition;
    }

    public String getWorkLastCompany() {
        return workLastCompany;
    }

    public void setWorkLastCompany(String workLastCompany) {
        this.workLastCompany = workLastCompany;
    }

    public String getEduLastEducation() {
        return eduLastEducation;
    }

    public void setEduLastEducation(String eduLastEducation) {
        this.eduLastEducation = eduLastEducation;
    }

    public String getEduLastSchool() {
        return eduLastSchool;
    }

    public void setEduLastSchool(String eduLastSchool) {
        this.eduLastSchool = eduLastSchool;
    }

    public String getEduLastSchoolTag() {
        return eduLastSchoolTag;
    }

    public void setEduLastSchoolTag(String eduLastSchoolTag) {
        this.eduLastSchoolTag = eduLastSchoolTag;
    }

    public String getEduLastMajor() {
        return eduLastMajor;
    }

    public void setEduLastMajor(String eduLastMajor) {
        this.eduLastMajor = eduLastMajor;
    }

    public String getExpectJob() {
        return expectJob;
    }

    public void setExpectJob(String expectJob) {
        this.expectJob = expectJob;
    }

    public String getExpectPay() {
        return expectPay;
    }

    public void setExpectPay(String expectPay) {
        this.expectPay = expectPay;
    }

    public String getExpectPayStart() {
        return expectPayStart;
    }

    public void setExpectPayStart(String expectPayStart) {
        this.expectPayStart = expectPayStart;
    }

    public String getExpectPayEnd() {
        return expectPayEnd;
    }

    public void setExpectPayEnd(String expectPayEnd) {
        this.expectPayEnd = expectPayEnd;
    }

    public String getWorkPlace() {
        return workPlace;
    }

    public void setWorkPlace(String workPlace) {
        this.workPlace = workPlace;
    }

    public String getWorkIndustry() {
        return workIndustry;
    }

    public void setWorkIndustry(String workIndustry) {
        this.workIndustry = workIndustry;
    }

    public String getWorkNature() {
        return workNature;
    }

    public void setWorkNature(String workNature) {
        this.workNature = workNature;
    }

    public String getEntryDate() {
        return entryDate;
    }

    public void setEntryDate(String entryDate) {
        this.entryDate = entryDate;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
}
